package com.jason.system.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author jie
 * @version 1.0
 * success come from self-discipline
 * @date 2021/3/18 11:24
 * 类：接电话
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Number implements Serializable {
  @JsonProperty(value = "nId")
  private Integer nId;

  /**
   * 咨询人(地址什么的)
   */
  private String consultant;

  /**
   * 接电话同学,以逗号分割
   */
  private String stuName;

  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date time;

  private String number;
}
